<?php

namespace LowCode\Traits\Props;

use LowCode\Support\JsExp;

trait HasLabel
{
    /**
     * label
     * @param string|JsExp|null $value
     * @return $this
     */
    public function label(string|JsExp $value = null): static
    {
        return $this->prop("label", $value);
    }

}
